package com.kws.commercial.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.kws.commercial.dao.CommercialProjectQuotationManagement;
import com.kws.commercial.dao.Info.QueryProjectQuotationInfo;
import com.kws.commercial.dao.Rq.CreateProjectQuotationRq;
import com.kws.commercial.dao.Rq.CreateQuotationDetailsRq;
import com.kws.commercial.dao.Rq.CreateSingleQuotationRq;

import java.math.BigDecimal;
import java.util.List;

public interface CommercialProjectQuotationService extends IService<CommercialProjectQuotationManagement> {
    PageInfo<QueryProjectQuotationInfo> queryProjectQuotationPage(Integer pageNum, Integer pageSize, String schemeName);

    boolean createQuotationDetails(CreateQuotationDetailsRq rq);

    boolean createProjectQuotation(CreateProjectQuotationRq rq);

    QueryProjectQuotationInfo queryProjectQuotationById(Long id);

    BigDecimal createSingleQuotation(CreateSingleQuotationRq rq);

    List<CommercialProjectQuotationManagement> querySchemeList();
}
